字符串 = input()
print(字符串[::-1] == (字符串))